package com.sg.hms.Model;

public class Department2 {
	private String dName;//部门名字
	private double Money;//部门总申请批准消费
	private int salary;//部门支出的工资消费
	private double spends;//总的消费
	public String getdName() {
		return dName;
	}
	public void setdName(String dName) {
		this.dName = dName;
	}
	public double getMoney() {
		return Money;
	}
	public void setMoney(double d) {
		Money = d;
	}
	public int getSalary() {
		return salary;
	}
	public void setSalary(int salary) {
		this.salary = salary;
	}
	
	public double getSpends() {
		return spends;
	}
	public void setSpends(double spends) {
		this.spends = spends;
	}
	public boolean equals(Object object){
		Department2 department = (Department2) object;
		return this.dName.equals(department.dName);
	}
	
	
}
